package com.example.jsonarry.nanningtravel.Utils;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * Created by jsonarry on 2015/10/20.
 */
public class SharePreferenceUtil
{
    public SharePreferenceUtil()
    {
    }
    public static void saveSnackBar(Context context)
    {
        SharedPreferences sharedPreferences = context.getSharedPreferences("snackBar", Context.MODE_PRIVATE);
        SharedPreferences.Editor editor = sharedPreferences.edit();
        editor.putBoolean("snackBar",true);
        editor.apply();
    }
}
